package com.xyh.config;

import com.netflix.config.ConfigurationManager;

public class TimeoutMain {
    public static void main(String [] args){
        TimeoutCommand c=new TimeoutCommand();
      String result =  c.execute();
      System.out.println(result);
        ConfigurationManager.getConfigInstance().setProperty("hystrix.command.default.execution.isolation.thread.timeoutInMilliseconds",1000);
    }
}
